package com.dq.repository.activity;

import com.dq.domain.activity.Activity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author liuhui
 * @date 2019/9/22 0022 09:56:55
 */
@Repository
public interface ActivityRepository extends JpaRepository<Activity,Long> {
    List<Activity> findByActivityStatusAndDeletedFalse(Activity.ActivityStatus activityStatus);

}
